<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
        <link href="${pageContext.request.contextPath}/images/favicon.ico" mce_href="images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
        <title>扫一扫加油</title>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/weui.css"/>
        <link rel="stylesheet" href="${pageContext.request.contextPath}/css/wechat.css"/>
    </head>
    <body ontouchstart>
        <div class="container js_container">

        </div>
        <div class="page">
            <div class="bd text-center">
            	<form method="post" action="${pageContext.request.contextPath}/scanRefueling/verifyAuth" id="password_form">
	            	<input type="hidden" id="fpId" name="fpId" value="${authVO.fpId }"/>
	            	<input type="hidden" id="stationId" name="stationId" value="${authVO.stationId }"/>
	            	<input type="hidden" id="memberId" name="memberId" value="${authVO.memberId }"/>
	            	<input type="hidden" id="memberFrozenAmount" name="memberFrozenAmount" value="${authVO.memberFrozenAmount }"/>
            		<div>
            			<p>请输入你的密码</p>
            			<input type="password" id="password" name="password"/>
            		</div>
            		<div class="weui_btn_area">
	                    <a href="javascript:;" class="weui_btn weui_btn_primary" onclick="password_page.submit()">确认加油</a>
	                </div>
            	</form>
            </div>
            <div class="footer">
                <span>本服务由</span>
                <img src="${pageContext.request.contextPath}/images/logo.png" title="油掌柜" />
                <span>提供技术支持</span>
            </div>
        </div>
        <script src="${pageContext.request.contextPath}/js/zepto.min.js"></script>
        <script src="${pageContext.request.contextPath}/js/wechat.js"></script>
    </body>
    <script type="text/javascript">
    	var password_page = {
    			submit : function(){
    				var password = $("#password").val();
    				if(password == ""){
    					alert("密码不能为空");
    					return;
    				}
        			$("#password_form").submit();
    			}
    	}
    </script>
</html>